#ifndef _PG_OPCODESEX_H
#define _PG_OPCODESEX_H

#include "Opcodes.h"

/***************************牌九相关协议***************************/
enum OpcodeEx
{

	SMSG_PG_PLAYERBASEINFO = 0x0211, 		// 玩家信息
	SMSG_CENTERBATTLE_PLAYERLIST = 0x0140,	//牌桌玩家列表
	SMSG_TABLESTATEUPDATE = 0x0216, 		// 牌桌状态切换
	SMSG_DICENUMBER = 0x0219,				// 广播骰子数目
	CMSG_CUTCARDS = 0x0220,					//玩家切牌
	SMSG_CUTCARDS = 0x0220,	
	CMSG_CUTCARDSPOS = 0x0220A,    			//玩家切牌位置索引
	SMSG_CUTCARDSPOS = 0x0220A,
	CMSG_CUTCARDSFINSH = 0x0220B,    		//玩家完成切牌标志

	CMSG_CHIPIN = 0x0221,					//玩家下注
	SMSG_CHIPIN = 0x0221,
	CMSG_PLAYLOOKCARD = 0x0222,				//玩家获取最优牌
	SMSG_PLAYLOOKCARD = 0x0222,				//玩家开牌
	CMSG_PLAYMOVECARD = 0x0223,				//玩家摆牌
	SMSG_PLAYMOVECARD = 0x0223,
	CMSG_PLAYMOVECARDFINISH = 0x0223A,		//玩家完成摆牌操作
	SMSG_PLAYMOVECARDFINISH =  0x0223A,
	SMSG_LOOKCARDS = 0x0224,				//庄家看牌	
	CMSG_LOOKOTHERPLAYERCARD = 0x0224A, 	//广播庄家看其他玩家牌
	CMSG_GETOUTCARDS = 0x0225,				// 获取已出牌列表
	SMSG_GETOUTCARDS = 0x0225,
	SMSG_PG_ROUNDCALCSCORE = 0x0227,		//每局结算
	SMSG_PG_NOTICEGETBANKER = 0x0227A, 		//通知玩家抢庄	
	SMSG_PG_ENDCALCSCORE = 0x0227B,			//最终结算
	CMSG_PG_GETBANKER = 0x0228,				//玩家抢庄
	SMSG_PG_GETBANKER = 0x0228,				//最终抢庄结果
	SMSG_PG_BROADGETBANKER = 0x0228B,		//广播玩家抢庄选择
	SMSG_PG_DELSCORE = 0x0228A,				//成为庄家扣除低分
	SMSG_CONTINUEBANKER = 0x0229,			//连庄或让庄
	CMSG_CONTINUEBANKER = 0x0229,	
	SMSG_ABANDONBANKER = 0x0230,			//通知下庄
	SMSG_PG_GOHALLORTABLE = 0x0231,			//通知去房间还是大厅
	SMSG_ASKISROUNDPGCALC = 0x0232,			//小结算确认
	CMSG_ASKISROUNDPGCALC = 0x0232,	

	SMSG_RETURN = 0x0233,				//断线重连确认开牌
};

#endif // PG_OPCODESEX_H
